package com.tsd.base.service;

import com.tsd.base.entity.BaseFundAccount;
import com.tsd.base.entity.BaseFundAccountExt;
import com.tsd.core.vo.PageBean;
import com.tsd.system.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * 描述：BaseFundAccount服务实现层接口
 *
 * @author Hillpool
 * @date 2022/12/12 11:17:37
 */
public interface BaseFundAccountService {

    /**
     * 描述：根据id获取BaseFundAccount
     *
     * @param id
     */
    BaseFundAccount getBaseFundAccountById(Long id) throws Exception;

    /**
     * 描述：根据sid获取BaseFundAccount
     *
     * @param sid
     */
    BaseFundAccountExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据sid列表删除BaseFundAccount
     *
     * @param list
     */
    void deleteBaseFundAccounts(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新BaseFundAccount
     *
     * @param record
     * @param opUser
     */
    void saveBaseFundAccount(BaseFundAccount record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询BaseFundAccount
     *
     * @param params
     * @param page
     */
    List<BaseFundAccountExt> findBaseFundAccounts(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询BaseFundAccount
     *
     * @param params
     */
    List<BaseFundAccountExt> findBaseFundAccounts(Map<String, Object> params) throws Exception;
}